package com.bootx.service.predict;

import java.io.Serializable;

public class RedPackageItem implements Serializable {
    public Integer order;           // 抢红包的顺序 1~10
    public double amount;       // 红包金额
    public int openTime;        // 距发包时间的相对毫秒数

    public RedPackageItem() {
    }

    public RedPackageItem(int order, double amount, int openTime) {
        this.order = order;
        this.amount = amount;
        this.openTime = openTime;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public int getOpenTime() {
        return openTime;
    }

    public void setOpenTime(int openTime) {
        this.openTime = openTime;
    }
}